package StatePattern.example2;

public abstract class ThreadState {
    public abstract String getStateName();

    public abstract void start(ThreadContext threadContext);

    public abstract void suspend(ThreadContext threadContext);

    public abstract void resume(ThreadContext threadContext);

    public abstract void stop(ThreadContext threadContext);

    public abstract void getCpu(ThreadContext threadContext);
}
